package com.customization.unionpay.market.job;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import com.customization.unionpay.market.service.impl.ClearFundDetailServiceImpl;
import com.customization.unionpay.market.service.ClearFundDetailService;
import weaver.hrm.User;
import weaver.interfaces.schedule.BaseCronJob;

import java.util.Date;

public class ClearFundDetailDailyFtpJob extends BaseCronJob {

    @Override
    public void execute() {

        ClearFundDetailService clearFundDetailService = new ClearFundDetailServiceImpl();
        Date date = new Date();
        User user = new User();
        user.setUid(1);
        clearFundDetailService.getDailyDetailByDate(DateUtil.format(date, DatePattern.PURE_DATE_PATTERN),user);

    }
}
